<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/templateInventario.xhtml">
    
<ui:define name="body">

    <h:form id="invAjuste" styleClass="edit">

        <rich:panel>
            <f:facet name="header">#{invAjusteHome.managed ? '' : ''} Filtro de reporte de stock</f:facet>


           
            <s:decorate id="a2" template="layout/edit.xhtml">
                    <ui:define name="label">Bodega:</ui:define>
                    <h:selectOneMenu value="#{auditoria.manualBodegaParaStock}">
                    <f:selectItems value="#{grupoListado.listadoBodegaSelectItems}" />
                    </h:selectOneMenu>
                </s:decorate>
           
            
             <s:decorate id="cmpCodigoField3" template="layout/edit.xhtml">
                <ui:define name="label">Grupo:</ui:define>
             
             <h:selectOneMenu value="#{auditoria.manualGrupo}">
                    
    <f:selectItems value="#{grupoListado.grupoSelectItems}" />
     <a:support event="onchange" reRender="Comboitems" ajaxSingle="true" />
    </h:selectOneMenu>
            </s:decorate>
            
             <s:decorate id="cmpCodigoField1" template="layout/edit.xhtml">
                <ui:define name="label">Items:</ui:define>
             
            <h:selectOneMenu id="Comboitems" value="#{invAjusteHome.instance.ajuItem}" >
                    <f:selectItems value="#{grupoListado.listaItemsSelect}" />
                    </h:selectOneMenu>
            </s:decorate>
                        

            <div style="clear:both">
                <span class="required">*</span>
                campos requeridos
            </div>

        </rich:panel>

        <div class="actionButtons">

            <h:commandButton id="Listado"
                          value="Listado"
                        action="/ReporteDeStockPorBodega.xhtml"
                     
                       />

                 <s:button
                id="reset" value="Limpiar" includePageParams="false" />


        </div>
    </h:form>
</ui:define>

</ui:composition>
    
  
